package Frame;

import javax.swing.JDialog;
import javax.swing.JLabel;

public class FCTip extends JDialog {
	public FCTip(String title, String str) {
		setBounds(0, 0, 400, 180);
		setResizable(false);
		setTitle(title);
		setModal(true);
		setLocationRelativeTo(null);

		JLabel a = new JLabel(str, JLabel.CENTER);
		a.setBounds(0, 0, getWidth(), getHeight());
		this.add(a);

		setVisible(true);
	}
}
